PdfSaveOptionsRegisterFont(String, Boolean, Boolean, String) Method

Registers a font file for one family and style, so the exporter does not have to find it.

Definition

Namespace: Independentsoft.Office.Pdf
Assembly: Independentsoft.Calc (in Independentsoft.Calc.dll) Version: 3.0.520.1+c6c593d5629a051e0af021b238c5d69d764f9686
C#
public void RegisterFont(
	string fontFamily,
	bool bold,
	bool italic,
	string filePath
)

Parameters

fontFamily  String
The family name as the document refers to it, for example "Arial".
bold  Boolean
True for the bold face.
italic  Boolean
True for the italic face.
filePath  String
Path to a .ttf or .ttc file.

See Also